IReadOnlyDictionary<TKey, TValue> interface
Defines methods and properties that handle read-only dictionary collections.
Namespace: TypeLite.ReadOnlyDictionary
Interfaces: IEnumerable<KeyValuePair<TKey, TValue>>
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. | |
Item | Gets the item that exists at a specified key. | |
Keys | Gets the collection of keys in the dictionary. | |
Values | Gets the collection of values in the dictionary. |
Methods
Name | Description | |
---|---|---|
ContainsKey | ||
TryGetValue |
IReadOnlyDictionary<TKey, TValue>.Count property
Gets the number of items in the collection.
Syntax
IReadOnlyDictionary<TKey, TValue>.Item property
Gets the item that exists at a specified key.
Syntax
IReadOnlyDictionary<TKey, TValue>.Keys property
Gets the collection of keys in the dictionary.
Syntax
IReadOnlyDictionary<TKey, TValue>.Values property
Gets the collection of values in the dictionary.